import { request } from 'umi';
export const getRecommendedReadingList = () => {
  return request('https://api.blog.wipi.tech/api/article/recommend');
};
export const getCategory = () => {
  return request(
    'https://api.blog.wipi.tech/api/category?articleStatus=publish',
  );
};
export const getSearchList = (keyword: string) => {
  return request('https://api.blog.wipi.tech/api/search/article', {
    params: { keyword },
  });
};
